# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Main_view.ui'
#
# Created: Fri Feb 15 08:43:06 2008
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Main_view(object):
    def setupUi(self, Main_view):
        Main_view.setObjectName("Main_view")
        Main_view.resize(QtCore.QSize(QtCore.QRect(0,0,888,600).size()).expandedTo(Main_view.minimumSizeHint()))

        self.centralwidget = QtGui.QWidget(Main_view)
        self.centralwidget.setObjectName("centralwidget")

        self.pushButtonRefreshCache = QtGui.QPushButton(self.centralwidget)
        self.pushButtonRefreshCache.setGeometry(QtCore.QRect(0,10,161,31))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButtonRefreshCache.setFont(font)
        self.pushButtonRefreshCache.setObjectName("pushButtonRefreshCache")

        self.pushButtonApplyChanges = QtGui.QPushButton(self.centralwidget)
        self.pushButtonApplyChanges.setGeometry(QtCore.QRect(170,10,141,31))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButtonApplyChanges.setFont(font)
        self.pushButtonApplyChanges.setObjectName("pushButtonApplyChanges")

        self.pushButtonFind = QtGui.QPushButton(self.centralwidget)
        self.pushButtonFind.setGeometry(QtCore.QRect(700,10,151,31))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButtonFind.setFont(font)
        self.pushButtonFind.setObjectName("pushButtonFind")

        self.comboBoxView = QtGui.QComboBox(self.centralwidget)
        self.comboBoxView.setGeometry(QtCore.QRect(10,90,93,22))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.comboBoxView.setFont(font)
        self.comboBoxView.setObjectName("comboBoxView")

        self.labelView = QtGui.QLabel(self.centralwidget)
        self.labelView.setGeometry(QtCore.QRect(13,70,81,22))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelView.setFont(font)
        self.labelView.setObjectName("labelView")

        self.tableHost = QtGui.QTableWidget(self.centralwidget)
        self.tableHost.setGeometry(QtCore.QRect(120,90,731,451))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.tableHost.setFont(font)
        self.tableHost.setAlternatingRowColors(True)
        self.tableHost.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableHost.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableHost.setObjectName("tableHost")

        self.tableOffice = QtGui.QTableWidget(self.centralwidget)
        self.tableOffice.setGeometry(QtCore.QRect(120,90,731,480))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.tableOffice.setFont(font)
        self.tableOffice.setAlternatingRowColors(True)
        self.tableOffice.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableOffice.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableOffice.setObjectName("tableOffice")

        self.tableTemplate = QtGui.QTableWidget(self.centralwidget)
        self.tableTemplate.setWindowModality(QtCore.Qt.NonModal)
        self.tableTemplate.setGeometry(QtCore.QRect(120,90,731,450))

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tableTemplate.sizePolicy().hasHeightForWidth())
        self.tableTemplate.setSizePolicy(sizePolicy)
        self.tableTemplate.setBaseSize(QtCore.QSize(10,0))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.tableTemplate.setFont(font)
        self.tableTemplate.setAlternatingRowColors(True)
        self.tableTemplate.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableTemplate.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableTemplate.setObjectName("tableTemplate")

        self.pushButtonAdd = QtGui.QPushButton(self.centralwidget)
        self.pushButtonAdd.setEnabled(True)
        self.pushButtonAdd.setGeometry(QtCore.QRect(10,140,80,26))
        self.pushButtonAdd.setObjectName("pushButtonAdd")

        self.pushButtonDelete = QtGui.QPushButton(self.centralwidget)
        self.pushButtonDelete.setEnabled(True)
        self.pushButtonDelete.setGeometry(QtCore.QRect(10,190,80,26))
        self.pushButtonDelete.setObjectName("pushButtonDelete")

        self.pushButtonEdit = QtGui.QPushButton(self.centralwidget)
        self.pushButtonEdit.setEnabled(True)
        self.pushButtonEdit.setGeometry(QtCore.QRect(10,240,80,26))
        self.pushButtonEdit.setObjectName("pushButtonEdit")
        Main_view.setCentralWidget(self.centralwidget)

        self.menubar = QtGui.QMenuBar(Main_view)
        self.menubar.setGeometry(QtCore.QRect(0,0,888,25))

        font = QtGui.QFont()
        font.setPointSize(12)
        self.menubar.setFont(font)
        self.menubar.setObjectName("menubar")

        self.menuVer = QtGui.QMenu(self.menubar)
        self.menuVer.setObjectName("menuVer")

        self.menuAgregar = QtGui.QMenu(self.menubar)
        self.menuAgregar.setObjectName("menuAgregar")

        self.menuConfiguraci_n = QtGui.QMenu(self.menubar)
        self.menuConfiguraci_n.setObjectName("menuConfiguraci_n")
        Main_view.setMenuBar(self.menubar)

        self.statusbar = QtGui.QStatusBar(Main_view)
        self.statusbar.setObjectName("statusbar")
        Main_view.setStatusBar(self.statusbar)

        self.toolBar = QtGui.QToolBar(Main_view)
        self.toolBar.setObjectName("toolBar")
        Main_view.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar)

        self.toolBar_2 = QtGui.QToolBar(Main_view)
        self.toolBar_2.setObjectName("toolBar_2")
        Main_view.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar_2)

        self.toolBar_3 = QtGui.QToolBar(Main_view)
        self.toolBar_3.setObjectName("toolBar_3")
        Main_view.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar_3)

        self.actionView_Host = QtGui.QAction(Main_view)
        self.actionView_Host.setObjectName("actionView_Host")

        self.actionView_Groups = QtGui.QAction(Main_view)
        self.actionView_Groups.setObjectName("actionView_Groups")

        self.actionView_Templates = QtGui.QAction(Main_view)
        self.actionView_Templates.setObjectName("actionView_Templates")

        self.actionAdd_Host = QtGui.QAction(Main_view)
        self.actionAdd_Host.setObjectName("actionAdd_Host")

        self.actionAdd_Template = QtGui.QAction(Main_view)
        self.actionAdd_Template.setObjectName("actionAdd_Template")

        self.actionAdd_Group = QtGui.QAction(Main_view)
        self.actionAdd_Group.setObjectName("actionAdd_Group")

        self.actionAdd_Office = QtGui.QAction(Main_view)
        self.actionAdd_Office.setObjectName("actionAdd_Office")

        self.actionAdd_Architecture = QtGui.QAction(Main_view)
        self.actionAdd_Architecture.setObjectName("actionAdd_Architecture")

        self.actionAptCache_Refresh = QtGui.QAction(Main_view)
        self.actionAptCache_Refresh.setObjectName("actionAptCache_Refresh")

        self.actionView_Avaible_Packages = QtGui.QAction(Main_view)
        self.actionView_Avaible_Packages.setObjectName("actionView_Avaible_Packages")

        self.actionAdd_Distribution = QtGui.QAction(Main_view)
        self.actionAdd_Distribution.setObjectName("actionAdd_Distribution")
        self.menuVer.addAction(self.actionView_Host)
        self.menuVer.addAction(self.actionView_Groups)
        self.menuVer.addAction(self.actionView_Templates)
        self.menuVer.addSeparator()
        self.menuVer.addAction(self.actionView_Avaible_Packages)
        self.menuAgregar.addAction(self.actionAdd_Host)
        self.menuAgregar.addAction(self.actionAdd_Template)
        self.menuAgregar.addAction(self.actionAdd_Office)
        self.menuAgregar.addAction(self.actionAdd_Architecture)
        self.menuAgregar.addAction(self.actionAdd_Distribution)
        self.menuConfiguraci_n.addAction(self.actionAptCache_Refresh)
        self.menubar.addAction(self.menuVer.menuAction())
        self.menubar.addAction(self.menuAgregar.menuAction())
        self.menubar.addAction(self.menuConfiguraci_n.menuAction())

        self.retranslateUi(Main_view)
        QtCore.QObject.connect(self.pushButtonFind,QtCore.SIGNAL("clicked(bool)"),Main_view.close)
        QtCore.QMetaObject.connectSlotsByName(Main_view)

    def retranslateUi(self, Main_view):
        Main_view.setWindowTitle(QtGui.QApplication.translate("Main_view", "Cfpackage", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonRefreshCache.setText(QtGui.QApplication.translate("Main_view", "Recargar Cache", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonApplyChanges.setText(QtGui.QApplication.translate("Main_view", "Aplicar cambios", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonFind.setText(QtGui.QApplication.translate("Main_view", "Salir", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxView.addItem(QtGui.QApplication.translate("Main_view", "Hosts", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxView.addItem(QtGui.QApplication.translate("Main_view", "Templates", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxView.addItem(QtGui.QApplication.translate("Main_view", "Oficinas", None, QtGui.QApplication.UnicodeUTF8))
        self.labelView.setText(QtGui.QApplication.translate("Main_view", "Vista", None, QtGui.QApplication.UnicodeUTF8))
        self.tableHost.clear()
        self.tableHost.setColumnCount(4)
        self.tableHost.setRowCount(0)

        headerItem = QtGui.QTableWidgetItem()
        headerItem.setText(QtGui.QApplication.translate("Main_view", "Host", None, QtGui.QApplication.UnicodeUTF8))
        self.tableHost.setHorizontalHeaderItem(0,headerItem)

        headerItem1 = QtGui.QTableWidgetItem()
        headerItem1.setText(QtGui.QApplication.translate("Main_view", "Oficina", None, QtGui.QApplication.UnicodeUTF8))
        self.tableHost.setHorizontalHeaderItem(1,headerItem1)

        headerItem2 = QtGui.QTableWidgetItem()
        headerItem2.setText(QtGui.QApplication.translate("Main_view", "Arquitectura", None, QtGui.QApplication.UnicodeUTF8))
        self.tableHost.setHorizontalHeaderItem(2,headerItem2)

        headerItem3 = QtGui.QTableWidgetItem()
        headerItem3.setText(QtGui.QApplication.translate("Main_view", "MacAddress", None, QtGui.QApplication.UnicodeUTF8))
        self.tableHost.setHorizontalHeaderItem(3,headerItem3)
        self.tableOffice.clear()
        self.tableOffice.setColumnCount(5)
        self.tableOffice.setRowCount(0)

        headerItem4 = QtGui.QTableWidgetItem()
        headerItem4.setText(QtGui.QApplication.translate("Main_view", "Nombre", None, QtGui.QApplication.UnicodeUTF8))
        self.tableOffice.setHorizontalHeaderItem(0,headerItem4)

        headerItem5 = QtGui.QTableWidgetItem()
        headerItem5.setText(QtGui.QApplication.translate("Main_view", "Ubicación", None, QtGui.QApplication.UnicodeUTF8))
        self.tableOffice.setHorizontalHeaderItem(1,headerItem5)

        headerItem6 = QtGui.QTableWidgetItem()
        headerItem6.setText(QtGui.QApplication.translate("Main_view", "Descripcion", None, QtGui.QApplication.UnicodeUTF8))
        self.tableOffice.setHorizontalHeaderItem(2,headerItem6)

        headerItem7 = QtGui.QTableWidgetItem()
        headerItem7.setText(QtGui.QApplication.translate("Main_view", "Contacto", None, QtGui.QApplication.UnicodeUTF8))
        self.tableOffice.setHorizontalHeaderItem(3,headerItem7)

        headerItem8 = QtGui.QTableWidgetItem()
        headerItem8.setText(QtGui.QApplication.translate("Main_view", "Telefono", None, QtGui.QApplication.UnicodeUTF8))
        self.tableOffice.setHorizontalHeaderItem(4,headerItem8)
        self.tableTemplate.clear()
        self.tableTemplate.setColumnCount(2)
        self.tableTemplate.setRowCount(0)

        headerItem9 = QtGui.QTableWidgetItem()
        headerItem9.setText(QtGui.QApplication.translate("Main_view", "Nombre", None, QtGui.QApplication.UnicodeUTF8))
        self.tableTemplate.setHorizontalHeaderItem(0,headerItem9)

        headerItem10 = QtGui.QTableWidgetItem()
        headerItem10.setText(QtGui.QApplication.translate("Main_view", "Descripcion", None, QtGui.QApplication.UnicodeUTF8))
        self.tableTemplate.setHorizontalHeaderItem(1,headerItem10)
        self.pushButtonAdd.setText(QtGui.QApplication.translate("Main_view", "Agregar", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonDelete.setText(QtGui.QApplication.translate("Main_view", "Borrar", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonEdit.setText(QtGui.QApplication.translate("Main_view", "Editar", None, QtGui.QApplication.UnicodeUTF8))
        self.menuVer.setTitle(QtGui.QApplication.translate("Main_view", "Ver", None, QtGui.QApplication.UnicodeUTF8))
        self.menuAgregar.setTitle(QtGui.QApplication.translate("Main_view", "Agregar", None, QtGui.QApplication.UnicodeUTF8))
        self.menuConfiguraci_n.setTitle(QtGui.QApplication.translate("Main_view", "Cache de Apt", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("Main_view", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar_2.setWindowTitle(QtGui.QApplication.translate("Main_view", "toolBar_2", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar_3.setWindowTitle(QtGui.QApplication.translate("Main_view", "toolBar_3", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_Host.setText(QtGui.QApplication.translate("Main_view", "Hosts", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_Groups.setText(QtGui.QApplication.translate("Main_view", "Groups", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_Templates.setText(QtGui.QApplication.translate("Main_view", "Templates", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_Host.setText(QtGui.QApplication.translate("Main_view", "Host", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_Template.setText(QtGui.QApplication.translate("Main_view", "Template", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_Group.setText(QtGui.QApplication.translate("Main_view", "Grupo", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_Office.setText(QtGui.QApplication.translate("Main_view", "Oficina", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_Architecture.setText(QtGui.QApplication.translate("Main_view", "Arquitectura", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAptCache_Refresh.setText(QtGui.QApplication.translate("Main_view", "Refrezcar", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_Avaible_Packages.setText(QtGui.QApplication.translate("Main_view", "Paquetes disponibles", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_Distribution.setText(QtGui.QApplication.translate("Main_view", "Distribución", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Main_view = QtGui.QMainWindow()
    ui = Ui_Main_view()
    ui.setupUi(Main_view)
    Main_view.show()
    sys.exit(app.exec_())
